package com.ktgj.flight.service;

import java.util.List;
import com.ktgj.flight.domain.FlightDeliverAssign;
import com.ktgj.flight.domain.FlightOrderIternaryDTO;

/**
 * 机票行程单配送Service接口
 * 
 * @author ruoyi
 * @date 2022-06-28
 */
public interface IFlightDeliverAssignService 
{
    /**
     * 查询机票行程单配送
     * 
     * @param assignId 机票行程单配送ID
     * @return 机票行程单配送
     */
    public FlightDeliverAssign selectFlightDeliverAssignById(Long assignId);

    /**
     * 查询机票行程单配送列表
     * 
     * @param flightDeliverAssign 机票行程单配送
     * @return 机票行程单配送集合
     */
    public List<FlightDeliverAssign> selectFlightDeliverAssignList(FlightDeliverAssign flightDeliverAssign);

    /**
     * 新增机票行程单配送
     * 
     * @param flightDeliverAssign 机票行程单配送
     * @return 结果
     */
    public int insertFlightDeliverAssign(FlightDeliverAssign flightDeliverAssign);

    /**
     * 修改机票行程单配送
     * 
     * @param flightDeliverAssign 机票行程单配送
     * @return 结果
     */
    public int updateFlightDeliverAssign(FlightDeliverAssign flightDeliverAssign);

    /**
     * 批量删除机票行程单配送
     * 
     * @param assignIds 需要删除的机票行程单配送ID
     * @return 结果
     */
    public int deleteFlightDeliverAssignByIds(Long[] assignIds);

    /**
     * 删除机票行程单配送信息
     * 
     * @param assignId 机票行程单配送ID
     * @return 结果
     */
    public int deleteFlightDeliverAssignById(Long assignId);

    /**
     * 新增机票行程单
     * @param orderId
     * @return
     */
    public int insertFlightDeliverAssign(String orderId);

    /**
     * 根据机票订单号回填快递单号
     * @param iternaryDTO
     * @return
     */
    public int updateDeliverAssignByOrderId(FlightOrderIternaryDTO iternaryDTO);
}
